<!DOCTYPE html>
<html lang="en">
	<head>
		<title>米迪</title>
		<meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link rel="stylesheet" href="__Admin__/css/bootstrap.min.css" />
		<link rel="stylesheet" href="__Admin__/css/bootstrap-responsive.min.css" />
		<link rel="stylesheet" href="__Admin__/css/uniform.css" />
		<link rel="stylesheet" href="__Admin__/css/select2.css" />		
		<link rel="stylesheet" href="__Admin__/css/unicorn.main.css" />
		<link rel="stylesheet" href="__Admin__/css/unicorn.grey.css" class="skin-color" />	
		<script type="text/javascript" src="__Admin__/js/jquery-1.7.min.js"></script>
	    <script type="text/javascript"  src="__Admin__/js/dsdialog.js"></script>
        <script type="text/javascript">
            ;(function(){
            	 jQuery(function () {
     	        	jQuery("#mytable").find("td").delegate("span.og", "click", function(){
     				       	var id=jQuery(this).attr("func");
     				     	$.post("__URL__/heiquit",  {"openid":id}, function(myret){
     				     		 var jsonRet=$.parseJSON(myret);
     				     		 var content="";
     			  				if(!jsonRet.ret){
     			  				 alert(jsonRet.message);
 				     			 location.reload() ;
     			  				}else{
     			  					alert(jsonRet.message);
     			  				}
     				     	});
     	        	});
            	 });
            })();
         </script>  
	</head>
	<body>
		<include file="Public/head" />
		<div id="content">
			<div id="content-header">
				<h1>用户管理</h1>
			</div>
			<div id="breadcrumb">
				<a href="#" class="current">白名单列表</a>
			</div>
			<div class="container-fluid">
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-th"></i>
								</span>
								<h5>白名单列表</h5>
							</div>	
							<div class="widget-content nopadding">
								<table class="table table-bordered table-striped" id="mytable">
									<thead>
										<tr>
										    <th>用户编号</th>
											<th>OPENID</th>
											<th>用户名称</th>
											<th>用户积分</th>
											<th>加入白名单时间</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody>
									<volist name="list" id="vo">
										<tr>
										    <td>{$vo.uid}</td>
											<td>{$vo.openid}</td>								
											<td>{$vo.uname}</td>
											<td>{$vo.score}</td>											
											<td>{$vo.times}</td>
											<td>
											<span class="og" func="{$vo.openid}">取消</span>
											</td>
										</tr>
										</volist>
									</tbody>
								</table>  
								<div style="float:right; margin:20px 30px; font-size:18px;">{$page}</div> 								
							</div>	
						</div>
					</div>
				</div>			
			</div>
		</div>
            <script src="__Admin__/js/jquery.min.js"></script>
            <script src="__Admin__/js/jquery.ui.custom.js"></script>
            <script src="__Admin__/js/bootstrap.min.js"></script>
            <script src="__Admin__/js/jquery.uniform.js"></script>
            <script src="__Admin__/js/select2.min.js"></script>
            <script src="__Admin__/js/jquery.dataTables.min.js"></script>
            <script src="__Admin__/js/unicorn.js"></script>
            <script src="__Admin__/js/unicorn.tables.js"></script>
	</body>
</html>
